<?php 
/**
 * 企业资讯列表页模板
 */
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>
<link rel="stylesheet" href="<?php echo TEMPLATE_URL; ?>css/content.css">
<div class="bannar_div">
    <div class="am-container-1 wp">
        <div class="right toppic-progress">
            <span><a href="<?php echo BLOG_URL; ?>" class="w-white">首页</a></span>
            <i class=" am-icon-arrow-circle-right w-white"></i>
            <span><a href="#" class="w-white">企业资讯</a></span>
            <i class=" am-icon-arrow-circle-right w-white"></i>
            <span>新闻动态</span>
        </div>
    </div>
</div>
<div class="cate_body_div" style="min-height:500px;">
    <div class="cate_div_content">
        <ul class="cate_div_content_ul">
            <li>
                <a <?php if(intval($_GET['sort']) == 25):?>class="curr"<?php endif;?> href="<?php echo BLOG_URL; ?>?sort=25" title="新闻动态">新闻动态</a>
            </li>
            <li>
                <a <?php if(intval($_GET['post']) == 2):?>class="curr"<?php endif;?> href="<?php echo BLOG_URL; ?>?post=2" title="保密协议">保密协议</a>
            </li>
            <li>
                <a <?php if(intval($_GET['post']) == 5):?>class="curr"<?php endif;?> href="<?php echo BLOG_URL; ?>?post=5" title="团队介绍">团队介绍</a>
            </li>
            <li>
                <a <?php if(intval($_GET['post']) == 3):?>class="curr"<?php endif;?> href="<?php echo BLOG_URL; ?>?post=3" title="关于我们">关于我们</a>
            </li>
            <li>
                <a <?php if(intval($_GET['post']) == 4):?>class="curr"<?php endif;?> href="<?php echo BLOG_URL; ?>?post=4" title="联系我们">联系我们</a>
            </li>
        </ul>
    </div>
    <div class="body_div_content">
        <ul class="am-list">
            <?php
            if (!empty($logs)):
                foreach($logs as $value):
                    ?>
                    <li style="position:relative">
                        <span class="am-badge" style="position:absolute;right:10px;top:13px;"><?php echo gmdate('Y-n-j', $value['date']); ?></span>
                        <?php topflg($value['top'], $value['sortop'], isset($sortid)?$sortid:''); ?><a href="<?php echo $value['log_url']; ?>"><?php echo $value['log_title']; ?></a></li>
                    <?php
                endforeach;
            else:
                ?>
                <h2>未找到</h2>
                <p>抱歉，没有符合您查询条件的结果。</p>
            <?php endif;?>
        </ul>
        <div id="pagenavi" class="am-pagination">
            <?php echo $page_url;?>
        </div>
    </div>
</div>
<?php
 include View::getView('footer');
?>